<div class="list-cart">
	<a class="button add" href="<?php echo $this->url('addCard'); ?>"><?php echo _('Добавить карточку'); ?></a>
	<?php
	$index = 0;
	foreach($this->rowset as $row)
	{
		$index++;
	?>
	<section<?php if($index == 3) { echo ' class="nmr"'; $index = 0;} ?>>
		<h4><?php echo $row['title']; ?> <a href="<?php echo $this->url('editCard', array('id' => \App::model('Vocabulary')->getUrl($row))); ?>"><?php echo _('Редактировать'); ?></a></h4>
		<?php foreach($row['words'] as $row): ?>
		<p><?php echo $row['word'] .'-'. $row['translate']; ?></p>
		<?php endforeach; ?>
	</section>
	<?php
	}
	?>
	<div class="clear"></div>
</div>